﻿#region Using directives

using System;
using System.Reflection;
using NetROS.Tiers.Entities.Validation;

#endregion

namespace NetROS.Tiers.Entities
{	
	///<summary>
	/// An object representation of the 'tblBlagajnaIzvjestaj' table. [No description found the database]	
	///</summary>
	/// <remarks>
	/// This file is generated once and will never be overwritten.
	/// </remarks>	
	[Serializable]
	[CLSCompliant(true)]
	public partial class BlagajnaIzvjestaj : BlagajnaIzvjestajBase
	{		
		#region Constructors

		///<summary>
		/// Creates a new <see cref="BlagajnaIzvjestaj"/> instance.
		///</summary>
		public BlagajnaIzvjestaj():base()
		{
		   DateTime danas = DateTime.Today;
		    base.DatumOd = new DateTime(danas.Year,1,1);
		}	
#endregion
        //protected override void AddValidationRules()
        //{
        //    base.AddValidationRules();
        //    //ValidationRules.AddRule(
        //    //    CommonRules.StringRequired,
        //    //    new ValidationRuleArgs("Opis", "Opis"));
        //    ValidationRules.AddRule(
        //    CheckIsIDNotSet,
        //     new ValidationRuleArgs("IDKonto", "Konto"));
        //    ValidationRules.AddRule(
        //    CheckIsIDNotSet,
        //     new ValidationRuleArgs("IDOrganizacija", "Mjesto troška"));
        //}

         
		
		
	}
}
